//
//  UIView+Image.h
//  p4
//
//  Created by yang xincheng on 14/12/26.
//  Copyright (c) 2014年 me.yang-yuxin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Image)

- (UIImage *)toImage;

- (UIImage *)toImageWithScale:(CGFloat)scale;

- (UIImage*)toImageWithLayer;

@end
